home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / dflat8.zip / DFLATMSG.H < prev    next >
Text File  |  1991-09-24  |  6KB  |  99 lines

  1. /* ----------- dflatmsg.h ------------ */
  2.  
  3. /*
  4.  * message foundation file
  5.  * make message changes here
  6.  * other source files will adapt
  7.  */
  8.  
  9. /* -------------- process communication messages ----------- */
  10. DFlatMsg(START)              /* start message processing     */
  11. DFlatMsg(STOP)               /* stop message processing      */
  12. DFlatMsg(COMMAND)            /* send a command to a window   */
  13. /* -------------- window management messages --------------- */
  14. DFlatMsg(CREATE_WINDOW)      /* create a window              */
  15. DFlatMsg(SHOW_WINDOW)        /* show a window                */
  16. DFlatMsg(HIDE_WINDOW)        /* hide a window                */
  17. DFlatMsg(CLOSE_WINDOW)       /* delete a window              */
  18. DFlatMsg(SETFOCUS)           /* set and clear the focus      */
  19. DFlatMsg(PAINT)              /* paint the window's data space*/
  20. DFlatMsg(BORDER)             /* paint the window's border    */
  21. DFlatMsg(TITLE)              /* display the window's title   */
  22. DFlatMsg(MOVE)               /* move the window              */
  23. DFlatMsg(SIZE)               /* change the window's size     */
  24. DFlatMsg(MAXIMIZE)           /* maximize the window          */
  25. DFlatMsg(MINIMIZE)           /* minimize the window          */
  26. DFlatMsg(RESTORE)            /* restore the window           */
  27. DFlatMsg(INSIDE_WINDOW)      /* test x/y inside a window     */
  28. /* ---------------- clock messages ------------------------- */
  29. DFlatMsg(CLOCKTICK)          /* the clock ticked             */
  30. DFlatMsg(CAPTURE_CLOCK)      /* capture clock into a window  */
  31. DFlatMsg(RELEASE_CLOCK)      /* release clock to the system  */
  32. /* -------------- keyboard and screen messages ------------- */
  33. DFlatMsg(KEYBOARD)           /* key was pressed              */
  34. DFlatMsg(CAPTURE_KEYBOARD) /* capture keyboard into a window */
  35. DFlatMsg(RELEASE_KEYBOARD)   /* release keyboard to system   */
  36. DFlatMsg(KEYBOARD_CURSOR)    /* position the keyboard cursor */
  37. DFlatMsg(CURRENT_KEYBOARD_CURSOR) /*read the cursor position */
  38. DFlatMsg(HIDE_CURSOR)        /* hide the keyboard cursor     */
  39. DFlatMsg(SHOW_CURSOR)        /* display the keyboard cursor  */
  40. DFlatMsg(SAVE_CURSOR)      /* save the cursor's configuration*/
  41. DFlatMsg(RESTORE_CURSOR)     /* restore the saved cursor     */
  42. DFlatMsg(SHIFT_CHANGED)      /* the shift status changed     */
  43. DFlatMsg(WAITKEYBOARD)     /* waits for a key to be released */
  44. /* ---------------- mouse messages ------------------------- */
  45. DFlatMsg(RESET_MOUSE)        /* reset the mouse              */
  46. DFlatMsg(MOUSE_TRAVEL)       /* set the mouse travel         */
  47. DFlatMsg(MOUSE_INSTALLED)    /* test for mouse installed     */
  48. DFlatMsg(RIGHT_BUTTON)       /* right button pressed         */
  49. DFlatMsg(LEFT_BUTTON)        /* left button pressed          */
  50. DFlatMsg(DOUBLE_CLICK)       /* left button double-clicked   */
  51. DFlatMsg(MOUSE_MOVED)        /* mouse changed position       */
  52. DFlatMsg(BUTTON_RELEASED)    /* mouse button released        */
  53. DFlatMsg(CURRENT_MOUSE_CURSOR)/* get mouse position          */
  54. DFlatMsg(MOUSE_CURSOR)       /* set mouse position           */
  55. DFlatMsg(SHOW_MOUSE)         /* make mouse cursor visible    */
  56. DFlatMsg(HIDE_MOUSE)         /* hide mouse cursor            */
  57. DFlatMsg(WAITMOUSE)          /* wait until button released   */
  58. DFlatMsg(TESTMOUSE)          /* test any mouse button pressed*/
  59. DFlatMsg(CAPTURE_MOUSE)      /* capture mouse into a window  */
  60. DFlatMsg(RELEASE_MOUSE)      /* release the mouse to system  */
  61. /* ---------------- text box messages ---------------------- */
  62. DFlatMsg(ADDTEXT)            /* add text to the text box     */
  63. DFlatMsg(CLEARTEXT)          /* clear the edit box           */
  64. DFlatMsg(SETTEXT)            /* set address of text buffer   */
  65. DFlatMsg(SCROLL)             /* vertical line scroll         */
  66. DFlatMsg(HORIZSCROLL)        /* horizontal column scroll     */
  67. DFlatMsg(SCROLLPAGE)         /* vertical page scroll         */
  68. DFlatMsg(HORIZPAGE)          /* horizontal page scroll       */
  69. DFlatMsg(SCROLLDOC)          /* scroll to beginning/end      */
  70. /* ---------------- edit box messages ---------------------- */
  71. DFlatMsg(EB_GETTEXT)         /* get text from an edit box    */
  72. DFlatMsg(EB_PUTTEXT)         /* put text into an edit box    */
  73. /* ---------------- menubar messages ----------------------- */
  74. DFlatMsg(BUILDMENU)          /* build the menu display       */
  75. DFlatMsg(SELECTION)          /* menubar selection            */
  76. /* ---------------- popdown messages ----------------------- */
  77. DFlatMsg(BUILD_SELECTIONS)   /* build the menu display       */
  78. DFlatMsg(CLOSE_POPDOWN)    /* tell parent popdown is closing */
  79. /* ---------------- list box messages ---------------------- */
  80. DFlatMsg(LB_SELECTION)       /* sent to parent on selection  */
  81. DFlatMsg(LB_CHOOSE)          /* sent when user chooses       */
  82. DFlatMsg(LB_CURRENTSELECTION)/* return the current selection */
  83. DFlatMsg(LB_GETTEXT)         /* return the text of selection */
  84. DFlatMsg(LB_SETSELECTION)    /* sets the listbox selection   */
  85. /* ---------------- dialog box messages -------------------- */
  86. DFlatMsg(INITIATE_DIALOG)    /* begin a dialog               */
  87. DFlatMsg(ENTERFOCUS)         /* tell DB control got focus    */
  88. DFlatMsg(LEAVEFOCUS)         /* tell DB control lost focus   */
  89. DFlatMsg(ENDDIALOG)          /* end a dialog                 */
  90. /* ---------------- help box messages ---------------------- */
  91. DFlatMsg(DISPLAY_HELP)
  92. /* --------------- application window messages ------------- */
  93. DFlatMsg(ADDSTATUS)
  94. /* --------------- picture box messages -------------------- */
  95. DFlatMsg(DRAWVECTOR)
  96. DFlatMsg(DRAWBOX)
  97. DFlatMsg(DRAWBAR)
  98.  
  99.